Study guide

12.1 Algebra

Pakistan Air Force GD Pilot Initial Test Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Introduction & Exam Overview

1.1 Current Exam Facts 1.2 Eligibility & Registration 1.3 Test Format & Selection Pipeline

2 Verbal Intelligence: Word Relationships

2.1 Analogies 2.2 Synonyms & Antonyms 2.3 Vocabulary in Context 2.4 Sentence Completion

3 Verbal Intelligence: Series & Coding

3.1 Number Series 3.2 Letter & Alpha-Numeric Series 3.3 Coding-Decoding

4 Verbal Intelligence: Quantitative Logic

4.1 Direction Sense 4.2 Percentages 4.3 Age & Relationship Problems 4.4 Time, Speed & Distance

5 Non-Verbal Intelligence: Patterns

5.1 Pattern & Figure Series 5.2 Odd-One-Out 5.3 Classification

6 Non-Verbal Intelligence: Spatial Reasoning

6.1 Rotation 6.2 Mirror Images 6.3 Matrix Reasoning 6.4 Spatial Reasoning

7 English: Grammar Foundations

7.1 Grammar Essentials 7.2 Tenses 7.3 Prepositions

8 English: Voice, Reported Speech, Correction & Vocabulary

8.1 Active & Passive Voice 8.2 Sentence Correction 8.3 Spelling 8.4 Vocabulary & Comprehension 8.5 Direct & Indirect Speech

9 Physics: Mechanics & Fluids

9.1 Mechanics 9.2 Fluid Dynamics & Bernoulli

10 Physics: Waves, Optics & Modern

10.1 Waves & Sound 10.2 Optics & Light 10.3 Modern Physics

11 Physics: Electromagnetism & Thermodynamics

11.1 Electromagnetism 11.2 Thermodynamics

12 Mathematics: Algebra, Calculus & Logs

12.1 Algebra 12.2 Calculus Basics 12.3 Logarithms

13 Mathematics: Geometry, Trig, Matrices & Vectors

13.1 Geometry 13.2 Trigonometry 13.3 Matrices & Vectors

14 Mathematics: Applied Reasoning

14.1 Percentages & Ratio 14.2 Word Problems

15 General Knowledge: PAF & Aviation

15.1 PAF Organisation 15.2 PAF History 15.3 Aviation Fundamentals

16 General Knowledge: Pakistan & General Science

16.1 Pakistan Geography 16.2 Armed Forces Selection & Basic Science

17 Test-Day Strategy & Selection Pipeline

17.1 Test-Day Strategy 17.2 Later Selection Stages

12.1 Algebra

Key Takeaways Explain This Topic AI

For ax² + bx + c = 0, the discriminant Δ = b² − 4ac decides the roots: Δ > 0 gives two real roots, Δ = 0 one repeated root, Δ < 0 no real roots.

Vieta's formulas: sum of roots α + β = −b/a and product αβ = c/a — for 3x² − 5x − 2 = 0 the sum is 5/3.

x² − 5x + 6 factorises as (x − 3)(x − 2) because −3 and −2 multiply to +6 and add to −5.

The HCF of x² − 1 = (x − 1)(x + 1) and x³ − 1 = (x − 1)(x² + x + 1) is the single common factor (x − 1).

Simultaneous linear equations are solved fastest by elimination: multiply one equation so a variable cancels on addition.

Last updated: August 2026

  • 12.1 Algebra
  • Quadratic Equations

A quadratic equation in one variable is any equation that can be written in the standard form ax² + bx + c = 0 , where a ≠ 0. The highest power of x is 2, which is what makes it quadratic . In this supplemental practice, quadratics appear in factorisation, root-finding, and word problems on areas and projectiles.

The two roots are given by the quadratic formula :

x = (−b ± √(b² − 4ac)) / 2a

The expression under the radical, Δ = b² − 4ac , is called the discriminant . It tells you the nature of the roots before you solve:

  • Δ > 0 → two distinct real roots
  • Δ = 0 → one repeated real root (the parabola just touches the x-axis)
  • Δ < 0 → no real roots (two complex conjugate roots)

Worked example — using the discriminant: For 2x² − 4x + 3 = 0, Δ = (−4)² − 4(2)(3) = 16 − 24 = −8 . Since Δ < 0, the equation has no real roots — the parabola sits entirely above the x-axis.

Worked example — using the formula: Solve x² − 5x + 6 = 0. Here a = 1, b = −5, c = 6, so x = (5 ± √(25 − 24)) / 2 = (5 ± 1) / 2, giving x = 3 or x = 2 .

Factorisation

When the coefficients are friendly, factorisation is faster than the formula. You look for two numbers that multiply to a·c and add to b .

Worked example — factorising x² − 5x + 6:

Here a = 1, b = −5, c = 6. We need two numbers that multiply to +6 and add to −5. Those numbers are −3 and −2, so:

x² − 5x + 6 = (x − 3)(x − 2)

Setting each factor to zero gives the roots x = 3 and x = 2 . Verify by expanding: (x − 3)(x − 2) = x² − 2x − 3x + 6 = x² − 5x + 6. ✓

Worked example — non-monic quadratic: Factorise 3x² − 5x − 2.

We need two numbers that multiply to (3)(−2) = −6 and add to −5. Those are −6 and +1. Split the middle term:

3x² − 6x + x − 2 = 3x(x − 2) + 1(x − 2) = (3x + 1)(x − 2)

Roots: x = 2 and x = −1/3. Check with the formula: x = (5 ± √(25 + 24)) / 6 = (5 ± 7) / 6, so x = 2 or x = −1/3. ✓

Sum and Product of Roots (Vieta's Formulas)

For any quadratic ax² + bx + c = 0 with roots α and β, Vieta's formulas give:

  • Sum of roots: α + β = −b/a
  • Product of roots: αβ = c/a

These let you answer questions about roots without solving the equation — a frequent shortcut on the test.

Worked example: For 3x² − 5x − 2 = 0 , the sum of roots is α + β = −(−5)/3 = 5/3 , and the product is αβ = (−2)/3. Verify with the roots found above: 2 + (−1/3) = 5/3 ✓ and 2 × (−1/3) = −2/3 ✓.

  • Quantity Formula For 3x² − 5x − 2 = 0
  • Sum of roots (α + β) −b/a 5/3
  • Product of roots (αβ) c/a −2/3
  • Discriminant (Δ) b² − 4ac 25 + 24 = 49
  • Roots (−b ± √Δ) / 2a (5 ± 7) / 6 → 2, −1/3

Simultaneous Equations

A system of two linear equations in two unknowns can be solved by substitution or elimination . Elimination is usually faster on the test.

  • Worked example: Solve
  • 2x + 3y = 13
  • 3x − y = 3

Multiply the second equation by 3: 9x − 3y = 9. Add to the first equation: 11x = 22, so x = 2 . Substitute back: 3(2) − y = 3 ⇒ y = 3. Solution: (2, 3) . Always substitute back into the other equation to check: 2(2) + 3(3) = 4 + 9 = 13. ✓

Polynomials and HCF/LCM

A polynomial is a sum of terms of the form axⁿ. The degree is the highest power of x. Division of polynomials uses the identity Dividend = Divisor × Quotient + Remainder .

The HCF (highest common factor) of two algebraic expressions is the largest expression that divides both exactly; the LCM is the smallest expression both divide exactly. Use factorisation to find them.

Worked example — HCF of x² − 1 and x³ − 1:

  • x² − 1 = (x − 1)(x + 1)
  • x³ − 1 = (x − 1)(x² + x + 1)

The only common factor is (x − 1) , so the HCF is (x − 1) . The LCM is (x − 1)(x + 1)(x² + x + 1) — take each distinct factor at its highest power.

Extraneous Roots and Squaring Both Sides

A common algebra trap arises when an equation contains a square root and you "square both sides" to remove it. Squaring is not a reversible operation — it can introduce extraneous roots that satisfy the squared equation but not the original. Always substitute every candidate back into the original equation before accepting it.

Worked example — extraneous root: Solve √(2x + 1) = x − 2.

  • Square both sides: 2x + 1 = (x − 2)² = x² − 4x + 4
  • Rearrange: x² − 6x + 3 = 0
  • Quadratic formula: x = (6 ± √(36 − 12)) / 2 = (6 ± √24) / 2 = 3 ± √6
  • Candidates: x ≈ 5.449 or x ≈ 0.551
  • Check x ≈ 5.449: √(2(5.449) + 1) = √11.898 ≈ 3.449, and x − 2 ≈ 3.449. ✓

Check x ≈ 0.551: √(2(0.551) + 1) = √2.102 ≈ 1.450, but x − 2 ≈ −1.449. ✗ (a square root is non-negative, so it cannot equal a negative number)

So the only valid solution is x = 3 + √6 . The other candidate is extraneous — introduced by squaring, not by the original equation. The same trap appears whenever you raise both sides to any even power.

Linear–Quadratic Systems

A simultaneous system can also mix a linear equation with a quadratic. Substitute the linear expression into the quadratic, then solve the resulting quadratic.

  • Worked example: Solve
  • y = x²
  • y = x + 2

Substitute: x² = x + 2 ⇒ x² − x − 2 = 0 ⇒ (x − 2)(x + 1) = 0, so x = 2 or x = −1. Corresponding y values: y = 4 or y = 1. Two solution pairs: (2, 4) and (−1, 1) . Geometrically these are the intersection points of the parabola y = x² and the line y = x + 2. A linear–quadratic system can have zero, one, or two solution pairs — count the intersections of the line and the parabola, and use the discriminant of the resulting quadratic to predict how many to expect.

Loading diagram... Discriminant Decision Flow for a Quadratic ax² + bx + c = 0