Unit P4: Pure Mathematics A2 4

Syllabus
2019
Section
—
Level
A2

P4.1 - Proof

Syllabus
2019
Topic
P4.1
Level
A2

Make an assumption that cannot be true

A proof by contradiction begins by assuming the exact negation of the statement to be proved. If valid deductions from that assumption force an impossibility or conflict with a given condition, the assumption is false and the original statement must be true.

Use four explicit moves: (1) state the contradictory assumption; (2) translate it into algebra, parity, factors or an inequality; (3) derive a named contradiction; (4) reject the assumption and state the original conclusion. For an implication ‘if P, then Q’, assume P is true and Q is false—not merely that P is false.

For 2\sqrt2, assume 2=a/b\sqrt2=a/b where integers a,ba,b have no common factor. Then a2=2b2a^2=2b^2, so aa is even; write a=2ka=2k. Now 4k2=2b24k^2=2b^2, hence b2=2k2b^2=2k^2 and bb is even. Thus aa and bb share factor 2, contradicting lowest terms. Therefore 2\sqrt2 is irrational.

N=p1p2⋯pn+1N=p_1p_2\cdots p_n+1

For infinitely many primes, assume the complete list is p1,…,pnp_1,\ldots,p_n and form NN above. Dividing NN by any listed prime leaves remainder 1. Yet N>1N>1 has a prime divisor, which is therefore absent from the supposedly complete list. This contradiction proves that there are infinitely many primes.

The contradiction must follow from the assumption through justified steps; an example that merely fails is not a proof. In unfamiliar problems, useful impossible outcomes include a square being negative, an integer being non-integral, incompatible parity, or a value violating its stated domain.

P4.2 - Algebra and functions

Syllabus
2019
Topic
P4.2
Level
A2

Choose and find a partial-fraction form

Partial fractions rewrite one rational function as a sum of simpler rational terms. The denominator determines the complete template; once the coefficients are found, the equivalent form is easier to integrate, differentiate or expand as a series.

Denominator or degree Required starting form
(ax+b)(cx+d)(ex+f)(ax+b)(cx+d)(ex+f) Aax+b+Bcx+d+Cex+f\frac{A}{ax+b}+\frac{B}{cx+d}+\frac{C}{ex+f}
(ax+b)(cx+d)2(ax+b)(cx+d)^2 Aax+b+Bcx+d+C(cx+d)2\frac{A}{ax+b}+\frac{B}{cx+d}+\frac{C}{(cx+d)^2}
numerator degree ≥\ge denominator degree divide first: polynomial quotient + proper remainder

Factor the denominator, divide first if the fraction is improper, and write every required term. Multiply through by the full denominator to form a polynomial identity. Substitute roots of the linear factors to isolate coefficients, then compare coefficients or use another convenient value for any coefficient left. Recombine the result over the original denominator to check it.

For example, 5x+1(x−1)(x+2)2=Ax−1+Bx+2+C(x+2)2.\frac{5x+1}{(x-1)(x+2)^2}=\frac{A}{x-1}+\frac{B}{x+2}+\frac{C}{(x+2)^2}. Multiplying through gives 5x+1=A(x+2)2+B(x−1)(x+2)+C(x−1).5x+1=A(x+2)^2+B(x-1)(x+2)+C(x-1). Setting x=1x=1 gives A=2/3A=2/3; setting x=−2x=-2 gives C=3C=3; comparing x2x^2 coefficients gives B=−2/3B=-2/3.

Next operation Why the split helps
Integration linear-denominator terms give logarithms; repeated terms use a power rule
Differentiation simple reciprocal powers differentiate term by term
Series expansion rewrite terms into (1+ux)n(1+ux)^n form, retaining each convergence condition

A repeated factor needs a term for every power up to its multiplicity; omitting one makes the identity incomplete. Preserve values excluded by the original denominator. Denominators with irreducible quadratic factors such as x2+ax^2+a, a>0a>0, are outside this specification.

P4.3 - Coordinate geometry in the (x, y) plane

Syllabus
2019
Topic
P4.3
Level
A2

Move between a parameter and a Cartesian curve

Parametric equations give both coordinates in terms of a third variable: x=f(t)x=f(t) and y=g(t)y=g(t). Each permitted value of tt produces a point (x,y)(x,y); changing tt traces the curve. A Cartesian equation removes tt and links xx directly to yy.

To convert to Cartesian form, make tt or a simple function of tt the subject of one equation and substitute into the other. For trigonometric parameters, isolate sin⁡t\sin t and cos⁡t\cos t and use sin⁡2t+cos⁡2t=1\sin^2t+\cos^2t=1. Finally translate the stated range of tt into restrictions on xx or yy.

For x=(t+3)/(t+1)x=(t+3)/(t+1) and y=2/(t+1)y=2/(t+1) with t>0t>0, notice that x=1+2/(t+1)=1+yx=1+2/(t+1)=1+y. Hence y=x−1y=x-1. Since t+1>1t+1>1, 0<y<20<y<2 and therefore 1<x<31<x<3. The unrestricted line would contain points that the parameter never reaches.

For x=3+2cos⁡tx=3+2\cos t and y=−1+4sin⁡ty=-1+4\sin t, cos⁡t=x−32,sin⁡t=y+14.\cos t=\frac{x-3}{2},\qquad \sin t=\frac{y+1}{4}. Therefore (x−3)24+(y+1)216=1.\frac{(x-3)^2}{4}+\frac{(y+1)^2}{16}=1. The allowed interval for tt decides whether this represents the whole ellipse or only part of it.

Cartesian form One useful parametrisation
y=F(x)y=F(x) x=t, y=F(t)x=t,\ y=F(t)
(x−h)2a2+(y−k)2b2=1\frac{(x-h)^2}{a^2}+\frac{(y-k)^2}{b^2}=1 x=h+acos⁡t, y=k+bsin⁡tx=h+a\cos t,\ y=k+b\sin t

Eliminating the parameter can enlarge the locus, so a Cartesian equation without the inherited range may be incomplete. Different parameter values can produce the same point, and different parametrisations can describe the same curve. For an intersection, substitute both parametric expressions into the other curve, solve for permitted values of tt, then recover both coordinates.

P4.4 - Binomial expansion

Syllabus
2019
Topic
P4.4
Level
A2

Expand a rational power and keep its valid range

The binomial series expands a rational power around x=0x=0. Put the expression into the standard form (1+u)n(1+u)^n first; the coefficients come from the descending products of nn, while the size of uu controls where a non-terminating series is valid.

(1+u)n=1+nu+n(n−1)2!u2+n(n−1)(n−2)3!u3+⋯(1+u)^n=1+nu+\frac{n(n-1)}{2!}u^2+\frac{n(n-1)(n-2)}{3!}u^3+\cdots

Rewrite (ax+b)n=bn(1+abx)n(ax+b)^n=b^n\left(1+\frac{a}{b}x\right)^n. For a negative or non-integer rational nn, require ∣abx∣<1\left|\frac{a}{b}x\right|<1, so ∣x∣<∣b/a∣|x|<\left|b/a\right|. A non-negative integer power terminates and does not need this convergence restriction.

For (4+5x)1/2(4+5x)^{1/2}, take out 41/2=24^{1/2}=2 and use u=5x/4u=5x/4: 2(1+12u−18u2+116u3+⋯ )=2+54x−2564x2+125512x3+⋯ .2\left(1+\frac12u-\frac18u^2+\frac1{16}u^3+\cdots\right)=2+\frac54x-\frac{25}{64}x^2+\frac{125}{512}x^3+\cdots. This series is valid for ∣5x/4∣<1|5x/4|<1, or ∣x∣<4/5|x|<4/5.

For a rational function, decompose first and expand each simple fraction. For example, 21−2x+34+x=2(1−2x)−1+34(1+x/4)−1\frac{2}{1-2x}+\frac{3}{4+x}=2(1-2x)^{-1}+\frac34(1+x/4)^{-1} =114+6116x+51564x2+⋯ .=\frac{11}{4}+\frac{61}{16}x+\frac{515}{64}x^2+\cdots. The two component ranges are ∣x∣<1/2|x|<1/2 and ∣x∣<4|x|<4, so the combined expansion requires the narrower condition ∣x∣<1/2|x|<1/2.

Keep the extracted factor bnb^n outside the series, substitute the whole expression for uu into every power, and state the range in terms of xx. A finite truncation is an approximation within that range; it is not an identity equal to the original function for every xx.

P4.5 - Differentiation

Syllabus
2019
Topic
P4.5
Level
A2

Differentiate a curve without solving for y

A curve need not be written as y=f(x)y=f(x) before its gradient can be found. For an implicit equation, differentiate every term with respect to xx and attach dy/dxdy/dx whenever a function of yy is differentiated. For a parametric curve, compare how both coordinates change with the parameter.

Curve form Gradient route
F(x,y)=0F(x,y)=0 differentiate with respect to xx, collect the dy/dxdy/dx terms, then solve
x=f(t), y=g(t)x=f(t),\ y=g(t) dydx=dy/dtdx/dt\displaystyle\frac{dy}{dx}=\frac{dy/dt}{dx/dt}, where dx/dt≠0dx/dt\ne0

For x2+xy+y2=7x^2+xy+y^2=7, differentiation gives 2x+xdydx+y+2ydydx=0,2x+x\frac{dy}{dx}+y+2y\frac{dy}{dx}=0, so dydx=−2x+yx+2y.\frac{dy}{dx}=-\frac{2x+y}{x+2y}. At (1,2)(1,2) the tangent gradient is −4/5-4/5; the normal gradient is 5/45/4.

For x=t2+1x=t^2+1 and y=t3−3ty=t^3-3t, dydx=3t2−32t.\frac{dy}{dx}=\frac{3t^2-3}{2t}. At t=2t=2, the point is (5,2)(5,2) and the gradient is 9/49/4, so the tangent is y−2=94(x−5).y-2=\frac94(x-5).

At a point (x0,y0)(x_0,y_0), use y−y0=m(x−x0)y-y_0=m(x-x_0). A finite non-zero tangent gradient mm gives normal gradient −1/m-1/m. Keep the point and gradient exact until the final line is simplified.

Do not substitute the point before differentiating: doing so destroys the variable relationship. Apply product and chain rules to mixed terms such as xyxy or exye^{xy}. If dx/dt=0dx/dt=0, the quotient formula needs separate interpretation because the tangent may be vertical.

Connect a model to rates of change

A differential equation states how a quantity changes, rather than giving the quantity directly. Build it by naming the changing variables, translating each rate statement with its sign and units, and differentiating the model relation with respect to the stated independent variable.

dQdt=dQdxdxdt\frac{dQ}{dt}=\frac{dQ}{dx}\frac{dx}{dt}

Suppose a tank has constant horizontal area 10 m210\,\mathrm{m^2}, water enters at 5 m3 min−15\,\mathrm{m^3\,min^{-1}}, and leaves at 0.2h m3 min−10.2h\,\mathrm{m^3\,min^{-1}} when the depth is hh metres. Since V=10hV=10h, dVdt=5−0.2handdVdt=10dhdt,\frac{dV}{dt}=5-0.2h\quad\text{and}\quad\frac{dV}{dt}=10\frac{dh}{dt}, so the model is 10 dh/dt=5−0.2h10\,dh/dt=5-0.2h.

For connected rates: (1) express all geometry in one changing variable; (2) differentiate before inserting the instant's values; (3) connect rates with the chain rule; (4) solve for the requested derivative; (5) report its sign and units.

For a cube of side xx cm, S=6x2S=6x^2 and V=x3V=x^3. If its surface area decreases at 12 cm2 s−112\,\mathrm{cm^2\,s^{-1}}, then −12=12xdxdt.-12=12x\frac{dx}{dt}. At x=3x=3, dx/dt=−1/3 cm s−1dx/dt=-1/3\,\mathrm{cm\,s^{-1}}, and dVdt=3x2dxdt=−9 cm3 s−1.\frac{dV}{dt}=3x^2\frac{dx}{dt}=-9\,\mathrm{cm^3\,s^{-1}}.

‘Rate of decrease’ is a positive magnitude, but the derivative of the decreasing quantity is negative. Do not cancel units or substitute a length before related dimensions have been expressed in the same variable. A formed differential equation is a model statement; solving it is a separate step.

P4.6 - Integration

Syllabus
2019
Topic
P4.6
Level
A2

Build a volume of revolution integral

Rotating the region between a non-negative curve y=f(x)y=f(x) and the xx-axis through a full turn produces circular cross-sections. A slice of thickness dxdx has area πy2\pi y^2, so its volume is accumulated by integration.

V=π∫aby2 dxV=\pi\int_a^b y^2\,dx

For y=x+1y=x+1 on 0≤x≤20\le x\le2, V=π∫02(x+1)2 dx=π[(x+1)33]02=26π3.V=\pi\int_0^2(x+1)^2\,dx=\pi\left[\frac{(x+1)^3}{3}\right]_0^2=\frac{26\pi}{3}. Square the whole expression for yy before integrating, and obtain the limits from the region's xx-coordinates.

If x=x(t)x=x(t) and y=y(t)y=y(t), replace dxdx by x′(t)dtx'(t)dt: V=π∫t1t2y(t)2x′(t) dt.V=\pi\int_{t_1}^{t_2}y(t)^2x'(t)\,dt. For x=t2x=t^2, y=t+1y=t+1, 0≤t≤20\le t\le2, V=π∫02(t+1)2(2t) dt=68π3.V=\pi\int_0^2(t+1)^2(2t)\,dt=\frac{68\pi}{3}. Choose the parameter limits in the direction of increasing xx; if x′(t)<0x'(t)<0 throughout, reverse the limits so the volume is positive.

This specification requires π∫y2 dx\pi\int y^2\,dx, including parametric use, but not the separate π∫x2 dy\pi\int x^2\,dy rule. Do not integrate yy instead of y2y^2, omit π\pi, or leave a physical volume negative because the parameter runs backwards.

Reverse the chain and product rules

Integration by substitution reverses the chain rule; integration by parts reverses the product rule. First identify which structure is present, then transform every factor, differential and—when the integral is definite—limit consistently.

Structure Reverse rule Check
a function and (a multiple of) its derivative set u=g(x)u=g(x) and use du=g′(x)dxdu=g'(x)dx the transformed integrand contains only uu
a product whose factors simplify differently ∫u dv=uv−∫v du\displaystyle\int u\,dv=uv-\int v\,du differentiating uu should simplify it
repeated product, such as polynomial ×ex\times e^x apply parts more than once stop when the polynomial disappears

For ∫xx2+4 dx,\int x\sqrt{x^2+4}\,dx, let u=x2+4u=x^2+4, so du=2x dxdu=2x\,dx. Then ∫xx2+4 dx=12∫u1/2 du=13(x2+4)3/2+C.\int x\sqrt{x^2+4}\,dx=\frac12\int u^{1/2}\,du=\frac13(x^2+4)^{3/2}+C. For a definite integral, either change both limits to uu-values or return to xx before applying the original limits—never mix the two.

For ∫x2ex dx\int x^2e^x\,dx, take u=x2u=x^2 and dv=exdxdv=e^x dx. Two applications give ∫x2ex dx=x2ex−2∫xex dx=ex(x2−2x+2)+C.\int x^2e^x\,dx=x^2e^x-2\int xe^x\,dx=e^x(x^2-2x+2)+C. Also, writing ln⁡x\ln x as 1⋅ln⁡x1\cdot\ln x gives the required result ∫ln⁡x dx=xln⁡x−x+C.\int\ln x\,dx=x\ln x-x+C.

Do not change only part of an integrand during substitution, forget the transformed dxdx or limits, or lose the minus sign in the parts formula. A cyclic integral such as one containing exsin⁡xe^x\sin x may return after two applications of parts; collect that integral algebraically rather than continuing forever.

Integrate rational expressions exactly

When a proper rational expression has factorised linear denominators, decompose it into simpler fractions before integrating. Match a constant numerator to each linear factor and an additional term for every repeated power.

Integrand pattern Antiderivative pattern
Aax+b\displaystyle\frac{A}{ax+b} Aaln⁡∣ax+b∣\displaystyle\frac{A}{a}\ln|ax+b|
A(ax+b)n, n>1\displaystyle\frac{A}{(ax+b)^n},\ n>1 use the power rule with the inner derivative factor
f′(x)f(x)\displaystyle\frac{f'(x)}{f(x)} ln⁡∣f(x)∣\ln|f(x)|; e.g. ∫xx2+5dx=12ln⁡(x2+5)+C\displaystyle\int\frac{x}{x^2+5}dx=\frac12\ln(x^2+5)+C

For 5x+1(x+1)(x+2)=Ax+1+Bx+2,\frac{5x+1}{(x+1)(x+2)}=\frac{A}{x+1}+\frac{B}{x+2}, matching numerators gives A=−4A=-4 and B=9B=9. Hence ∫5x+1(x+1)(x+2) dx=−4ln⁡∣x+1∣+9ln⁡∣x+2∣+C.\int\frac{5x+1}{(x+1)(x+2)}\,dx=-4\ln|x+1|+9\ln|x+2|+C. Differentiate the result to check both coefficients.

A repeated linear factor does not produce another logarithm: ∫3(x−1)2 dx=−3x−1+C.\int\frac{3}{(x-1)^2}\,dx=-\frac{3}{x-1}+C. Likewise, ∫2(2x−1)4 dx=−13(2x−1)3+C.\int\frac{2}{(2x-1)^4}\,dx=-\frac{1}{3(2x-1)^3}+C.

Make an improper rational expression proper before decomposing. Preserve absolute-value bars in logarithms unless the stated interval fixes the sign, and include the derivative of every linear denominator. Do not treat all denominator powers as logarithmic.

Solve a separable differential equation

A first-order equation is separable when all yy-dependence can be placed with dydy and all xx-dependence with dxdx. Integrating produces a family of curves—the general solution. An initial or boundary condition then selects a particular member.

dydx=f(x)g(y)⟹∫1g(y) dy=∫f(x) dx\frac{dy}{dx}=f(x)g(y)\quad\Longrightarrow\quad\int\frac{1}{g(y)}\,dy=\int f(x)\,dx

For dy/dx=2xydy/dx=2xy with y≠0y\ne0, separation gives 1y dy=2x dx,\frac1y\,dy=2x\,dx, so ln⁡∣y∣=x2+C⟹y=Aex2.\ln|y|=x^2+C\quad\Longrightarrow\quad y=Ae^{x^2}. This non-zero family, together with the equilibrium solution y=0y=0 lost when dividing by yy, is the general solution.

If y(0)=3y(0)=3, then 3=Ae03=Ae^0, so the particular solution is y=3ex2.y=3e^{x^2}. Check it by differentiating: dy/dx=6xex2=2x(3ex2)=2xydy/dx=6xe^{x^2}=2x(3e^{x^2})=2xy, and it satisfies the initial condition.

A reliable sequence is: separate with dydy and dxdx visible; integrate both sides and include one arbitrary constant; simplify only when it helps; use the condition; state the requested form; differentiate to verify. Partial fractions or integration by parts may be needed after separation.

Do not treat dy/dxdy/dx as an ordinary fraction without preserving the differential relationship. Before dividing by a factor involving yy, test whether setting that factor to zero gives a constant solution. A general solution must retain an arbitrary constant; a particular solution must use the supplied condition.

Find area from parametric equations

For a parametric curve x=x(t)x=x(t), y=y(t)y=y(t), convert the Cartesian area element y dxy\,dx using dx=x′(t)dtdx=x'(t)dt. The parameter values at the region's endpoints supply the limits; the curve does not need to be rearranged into y=f(x)y=f(x).

A=∫aby dx=∫t1t2y(t)x′(t) dtA=\int_a^b y\,dx=\int_{t_1}^{t_2}y(t)x'(t)\,dt

For x=t2x=t^2, y=t+1y=t+1, 0≤t≤20\le t\le2, x′(t)=2tx'(t)=2t and the curve lies above the xx-axis. Thus A=∫02(t+1)(2t) dt=[23t3+t2]02=283.A=\int_0^2(t+1)(2t)\,dt=\left[\frac23t^3+t^2\right]_0^2=\frac{28}{3}.

Region Integrand in parameter form
between curve and xx-axis y(t)x′(t)y(t)x'(t)
between y=hy=h and the curve [h−y(t)]x′(t)[h-y(t)]x'(t)
curve crosses the axis or doubles back split where the sign or xx-direction changes, then add geometric pieces

The integral is signed: reversed parameter limits or x′(t)<0x'(t)<0 can make it negative even though geometric area is positive. Establish the endpoint parameter values and direction before integrating. Do not integrate x(t)y(t)x(t)y(t), and do not spend time sketching a curve from its parametric equations—the specification does not require that skill here.

P4.7 - Vectors

Syllabus
2019
Topic
P4.7
Level
A2

Represent direction and displacement with vectors

A vector records both magnitude and direction. In two dimensions it has two components; in three dimensions it has three. The components measure the signed change parallel to each coordinate axis.

Form Three-dimensional example
column vector (3−25)\displaystyle\begin{pmatrix}3\\-2\\5\end{pmatrix}
unit-vector form 3i−2j+5k3\mathbf i-2\mathbf j+5\mathbf k
displacement move 33 in xx, −2-2 in yy, and 55 in zz

Two vectors are equal when their corresponding components are equal, even if they start at different points. Thus (3−25)\begin{pmatrix}3\\-2\\5\end{pmatrix} and 3i−2j+5k3\mathbf i-2\mathbf j+5\mathbf k represent the same vector.

A point describes a location; a vector describes a displacement or direction. They may use the same ordered numbers, but their meanings differ. Preserve component order and signs: the third component is the zz-change, not an extra label.

Find a vector's length and direction

The magnitude ∣a∣|\mathbf a| is the length of a vector. It follows from Pythagoras in two or three dimensions. Dividing a non-zero vector by its magnitude keeps its direction but changes its length to 11.

∣(a1a2a3)∣=a12+a22+a32,a^=a∣a∣(a≠0)\left|\begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix}\right|=\sqrt{a_1^2+a_2^2+a_3^2},\qquad \widehat{\mathbf a}=\frac{\mathbf a}{|\mathbf a|}\quad(\mathbf a\ne\mathbf0)

For a=(4−42)\mathbf a=\begin{pmatrix}4\\-4\\2\end{pmatrix}, ∣a∣=42+(−4)2+22=6.|\mathbf a|=\sqrt{4^2+(-4)^2+2^2}=6. A unit vector in the same direction is a^=16(4−42)=(2/3−2/31/3).\widehat{\mathbf a}=\frac16\begin{pmatrix}4\\-4\\2\end{pmatrix}=\begin{pmatrix}2/3\\-2/3\\1/3\end{pmatrix}. Its magnitude is 11, which checks the calculation.

Magnitude is never negative, but vector components may be. Squaring removes component signs inside the length calculation. The zero vector has magnitude 00 and no defined direction, so it cannot be divided by its magnitude to make a unit vector.

Combine and scale vectors

Vector addition combines successive displacements, while scalar multiplication changes a vector's length and possibly its direction. Both operations are performed component by component.

(a1a2a3)+(b1b2b3)=(a1+b1a2+b2a3+b3),k(a1a2a3)=(ka1ka2ka3)\begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix}+\begin{pmatrix}b_1\\b_2\\b_3\end{pmatrix}=\begin{pmatrix}a_1+b_1\\a_2+b_2\\a_3+b_3\end{pmatrix},\qquad k\begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix}=\begin{pmatrix}ka_1\\ka_2\\ka_3\end{pmatrix}

If a=(2−13)\mathbf a=\begin{pmatrix}2\\-1\\3\end{pmatrix} and b=(−451)\mathbf b=\begin{pmatrix}-4\\5\\1\end{pmatrix}, then a+b=(−244),2a−b=(8−75).\mathbf a+\mathbf b=\begin{pmatrix}-2\\4\\4\end{pmatrix},\qquad 2\mathbf a-\mathbf b=\begin{pmatrix}8\\-7\\5\end{pmatrix}. Geometrically, addition places vectors head-to-tail; the resultant joins the starting point to the finishing point.

Multiplying by a positive scalar preserves direction, multiplying by a negative scalar reverses it, and multiplying by zero gives the zero vector. Do not add magnitudes in place of components: vector addition depends on direction.

Use position vectors to connect points

The position vector of a point runs from the fixed origin to that point. If OA→=a\overrightarrow{OA}=\mathbf a and OB→=b\overrightarrow{OB}=\mathbf b, the displacement from AA to BB is found by subtracting start from finish.

AB→=OB→−OA→=b−a\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}=\mathbf b-\mathbf a

If A=(2,−3,5)A=(2,-3,5) and B=(8,1,−1)B=(8,1,-1), then AB→=(81−1)−(2−35)=(64−6).\overrightarrow{AB}=\begin{pmatrix}8\\1\\-1\end{pmatrix}-\begin{pmatrix}2\\-3\\5\end{pmatrix}=\begin{pmatrix}6\\4\\-6\end{pmatrix}. Reversing the journey gives BA→=−AB→\overrightarrow{BA}=-\overrightarrow{AB}.

Position vectors also encode division of a segment. If BB lies one third of the way from AA to CC, then b=a+13(c−a),\mathbf b=\mathbf a+\frac13(\mathbf c-\mathbf a), so c=3b−2a\mathbf c=3\mathbf b-2\mathbf a. The coefficients reflect the stated direction and ratio.

Always subtract the position vector of the starting point from that of the finishing point. Coordinates and position-vector components match relative to the fixed origin, but AB→\overrightarrow{AB} is not normally the position vector of either endpoint.

Calculate distance in three dimensions

The distance between two points is the magnitude of the displacement vector joining them. Subtract corresponding coordinates, square the changes, add them, and take the non-negative square root.

d=∣P1P2→∣=(x2−x1)2+(y2−y1)2+(z2−z1)2d=|\overrightarrow{P_1P_2}|=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}

For P=(1,−2,4)P=(1,-2,4) and Q=(5,1,−8)Q=(5,1,-8), PQ→=(43−12),\overrightarrow{PQ}=\begin{pmatrix}4\\3\\-12\end{pmatrix}, so PQ=42+32+(−12)2=169=13.PQ=\sqrt{4^2+3^2+(-12)^2}=\sqrt{169}=13. The same distance results from QP→\overrightarrow{QP} because every component is squared.

Distance is a scalar and cannot be negative. Do not omit the square root when the question asks for distance rather than distance squared, and do not add coordinate changes before squaring them.

Describe and classify vector lines

A vector line is determined by one point and one non-zero direction vector. The parameter moves through every real value, generating every point on the line.

Given information Vector equation
point with position vector a\mathbf a, direction b\mathbf b r=a+tb\mathbf r=\mathbf a+t\mathbf b
points with position vectors c\mathbf c and d\mathbf d r=c+t(d−c)\mathbf r=\mathbf c+t(\mathbf d-\mathbf c)

Through C=(1,2,0)C=(1,2,0) and D=(3,−1,4)D=(3,-1,4), a direction is CD→=(2,−3,4)\overrightarrow{CD}=(2,-3,4), so r=(120)+t(2−34).\mathbf r=\begin{pmatrix}1\\2\\0\end{pmatrix}+t\begin{pmatrix}2\\-3\\4\end{pmatrix}. At t=1t=1 this gives DD, providing a quick check.

Direction-vector test Simultaneous coordinate equations Relationship
scalar multiples — parallel (or the same line if they share a point)
not scalar multiples one consistent pair of parameters satisfies all three coordinates intersecting
not scalar multiples no pair satisfies all three coordinates skew

Use different parameters for different lines. Solving only two coordinate equations is not enough: substitute the resulting parameters into the third. In three dimensions, lines that are not parallel need not intersect; they may be skew.

Use the scalar product for angles

The scalar product converts two vectors into a number that measures directional alignment. Its component form calculates the value; its geometric form connects that value to the angle between the vectors.

a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θ\mathbf a\cdot\mathbf b=a_1b_1+a_2b_2+a_3b_3=|\mathbf a||\mathbf b|\cos\theta

For non-zero a=(122)\mathbf a=\begin{pmatrix}1\\2\\2\end{pmatrix} and b=(201)\mathbf b=\begin{pmatrix}2\\0\\1\end{pmatrix}, a⋅b=4,∣a∣=3,∣b∣=5,\mathbf a\cdot\mathbf b=4,\quad |\mathbf a|=3,\quad|\mathbf b|=\sqrt5, so θ=cos⁡−1 ⁣(435)≈53.4∘.\theta=\cos^{-1}\!\left(\frac{4}{3\sqrt5}\right)\approx53.4^\circ. For the acute angle between two lines, use the absolute value of the cosine because either direction vector may be reversed.

If non-zero vectors satisfy a⋅b=0\mathbf a\cdot\mathbf b=0, then cos⁡θ=0\cos\theta=0 and they are perpendicular. For example, (1,2,2)⋅(2,1,−2)=2+2−4=0(1,2,2)\cdot(2,1,-2)=2+2-4=0. This condition can locate the foot of a perpendicular by making a displacement vector dot a line's direction equal to zero.

The dot product is a scalar, not a vector. The angle formula requires two non-zero vectors. When an angle is attached to named points, form both vectors from the angle's vertex before taking their scalar product.