Unit P2: Pure Mathematics AS 2

Syllabus
2019
Section
—
Level
AS

P2.1 - Proof

Syllabus
2019
Topic
P2.1
Level
AS

A proof links assumptions to a necessary conclusion

A mathematical proof starts from stated assumptions and uses valid logical steps to show that the conclusion must follow for every object in the stated domain.

Stage What it must establish
assumptions domain, definitions and given conditions
representation a general form such as 2k2k for an even integer or 2k+12k+1 for an odd integer
logical steps equalities or implications justified without assuming the result
conclusion the exact claim, with its domain or condition retained

To prove 2x2+8≥8x2x^2+8\ge8x for every real xx, move everything to one side: 2x2−8x+8=2(x−2)2.2x^2-8x+8=2(x-2)^2. Because a real square is non-negative, 2(x−2)2≥02(x-2)^2\ge0, so the stated inequality follows for every real xx.

When multiplying, dividing, taking roots or cancelling factors, state the condition that makes the step valid. For example, dividing an inequality by a positive quantity preserves its direction; dividing by a quantity of unknown sign does not.

Checking several values can suggest a universal statement but cannot prove it. Avoid circular reasoning: the required conclusion may appear only after it has been derived from the assumptions.

Proof by exhaustion covers every possible case

Proof by exhaustion works when the allowed possibilities can be divided into a finite, complete set of cases. Each case must be checked, and the cases must leave no allowed value uncovered.

Situation Exhaustive cases
parity of an integer n=2kn=2k or n=2k+1n=2k+1
remainder after division by 3 n=3kn=3k, 3k+13k+1 or 3k+23k+2
single-digit primes 2,3,5,72,3,5,7

To prove n2+nn^2+n is even for every integer nn, exhaust the two parity cases. If n=2kn=2k, then n2+n=2k(2k+1)n^2+n=2k(2k+1), which has a factor 2. If n=2k+1n=2k+1, then n2+n=(2k+1)(2k+2)=2(2k+1)(k+1)n^2+n=(2k+1)(2k+2)=2(2k+1)(k+1), also even. Every integer is even or odd, so the proof is complete.

For a literal finite set, the single-digit primes are exactly 2,3,5,72,3,5,7. The values of p2+pp^2+p are respectively 6,12,30,566,12,30,56, all even. Naming the complete allowed set is what turns these checks into a proof.

Trying a few convenient examples is not exhaustion. State why the cases are mutually sufficient, evaluate every case under the same claim, and finish with a conclusion covering the original domain.

One valid counterexample disproves a universal statement

A universal claim says a conclusion holds for every allowed input. To disprove it, one counterexample is enough: choose an input that satisfies the claim's conditions but makes its conclusion false.

Counterexample requirement Evidence to show
allowed input the chosen value belongs to the stated domain
failed conclusion substitution gives a result that contradicts the claim
explicit verdict identify the value as a counterexample and state that the universal claim is false

Consider the claim ‘n2−n+1n^2-n+1 is prime for every positive integer nn’. Take n=5n=5, which is in the stated domain. Then 52−5+1=21=3×7,5^2-5+1=21=3\times7, so the result is composite. Therefore n=5n=5 is a counterexample and the universal claim is false.

A useful search targets values likely to expose the weakness, but the final disproof must show the calculation and the failed property. A valid counterexample need not be the smallest one.

One successful example cannot prove a statement about all inputs, while one genuine failure can disprove it. An input outside the stated domain or a value that still satisfies the conclusion is not a counterexample.

P2.2 - Algebra and functions

Syllabus
2019
Topic
P2.2
Level
AS

Divide a polynomial to expose remainders and factors

Dividing a polynomial f(x)f(x) by a linear expression gives a quotient Q(x)Q(x) and constant remainder RR. One identity connects the calculation to both the Remainder and Factor Theorems.

f(x)=(ax+b)Q(x)+Rf(x)=(ax+b)Q(x)+R

Divisor Input that makes it zero Remainder / factor test
x−cx-c cc remainder f(c)f(c); factor iff f(c)=0f(c)=0
ax−bax-b b/ab/a remainder f(b/a)f(b/a); factor iff f(b/a)=0f(b/a)=0
ax+bax+b −b/a-b/a remainder f(−b/a)f(-b/a); factor iff f(−b/a)=0f(-b/a)=0

For long division, order descending powers and insert zero coefficients for missing terms. Divide the leading terms, multiply the whole divisor by the new quotient term, subtract, and repeat until the remainder is constant. Verify with dividend = divisor × quotient + remainder.

For f(x)=2x3+x2−7x+2f(x)=2x^3+x^2-7x+2, division by x−2x-2 gives f(x)=(x−2)(2x2+5x+3)+8.f(x)=(x-2)(2x^2+5x+3)+8. The theorem check agrees: f(2)=16+4−14+2=8f(2)=16+4-14+2=8, so x−2x-2 is not a factor.

For g(x)=2x3−3x2−8x+12g(x)=2x^3-3x^2-8x+12, g(2)=0g(2)=0, so x−2x-2 is a factor. Division gives 2x2+x−6=(2x−3)(x+2)2x^2+x-6=(2x-3)(x+2); hence g(x)=(x−2)(2x−3)(x+2).g(x)=(x-2)(2x-3)(x+2).

Use the zero of the entire divisor: for ax−bax-b it is b/ab/a, not bb. A zero remainder proves a factor; a non-zero remainder does not. This P2 scope requires division only by linear expressions ax±bax\pm b.

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

Syllabus
2019
Topic
P2.3
Level
AS

Read a circle equation and unlock its geometry

A circle is the set of points a fixed distance rr from its centre (a,b)(a,b). Its coordinate equation records that distance using Pythagoras:

(x−a)2+(y−b)2=r2(x-a)^2+(y-b)^2=r^2

Read the centre as (a,b)(a,b) and the radius as the positive square root of the right-hand side. The signs inside the brackets are reversed. To build an equation, substitute the known centre and radius; if a diameter's endpoints are known, its midpoint is the centre and half its length is the radius.

For x2+y2−6x+4y−12=0x^2+y^2-6x+4y-12=0, move the constant and add 99 and 44 to both sides: x2−6x+9+y2+4y+4=12+9+4,x^2-6x+9+y^2+4y+4=12+9+4, so (x−3)2+(y+2)2=25.(x-3)^2+(y+2)^2=25. Thus the centre is (3,−2)(3,-2) and the radius is 55.

Circle property Coordinate-geometry use
If ABAB is a diameter and CC is on the circle, ∠ACB=90∘\angle ACB=90^\circ prove or use a right angle
A perpendicular from the centre to a chord bisects the chord locate a chord midpoint or centre
The radius OPOP is perpendicular to the tangent at PP find a tangent or normal gradient

In the example, P=(7,1)P=(7,1) lies on the circle because 42+32=254^2+3^2=25. The radius CPCP has gradient 3/43/4, so the tangent gradient is −4/3-4/3 and its equation is y−1=−43(x−7)y-1=-\frac43(x-7).

Do not read rr directly from r2r^2, or copy the bracket signs into the centre. The radius-tangent rule applies at the point of contact; perpendicular non-vertical gradients satisfy m1m2=−1m_1m_2=-1.

P2.4 - Sequences and series

Syllabus
2019
Topic
P2.4
Level
AS

Generate a sequence directly or recursively

A sequence is an ordered list whose position matters. A rule can give a term directly from its position, or generate each term from the previous one.

Rule type What must be given How a term is found
Explicit: un=f(n)u_n=f(n) the formula and term number nn substitute nn directly
Recursive: xn+1=f(xn)x_{n+1}=f(x_n) the recurrence and a starting value calculate earlier terms in order

For un=3n−1u_n=3n-1, the sequence begins 2,5,8,11,…2,5,8,11,\ldots and u7=3(7)−1=20u_7=3(7)-1=20 without finding terms 5 or 6.

For x1=2x_1=2 and xn+1=xn2−1x_{n+1}=x_n^2-1, x2=3,x3=8,x4=63.x_2=3,\qquad x_3=8,\qquad x_4=63. Each input is the preceding term, so the starting value is part of the definition.

Keep the indices aligned: xn+1x_{n+1} is the next term produced from xnx_n. Do not replace xnx_n by nn, or apply a recurrence without its required starting value.

Build and sum an arithmetic sequence

An arithmetic sequence has a constant difference dd. Starting from first term aa, moving to term nn adds dd exactly n−1n-1 times.

un=a+(n−1)d,Sn=n2(2a+(n−1)d)=n2(a+l)u_n=a+(n-1)d,\qquad S_n=\frac n2\bigl(2a+(n-1)d\bigr)=\frac n2(a+l)

The sum formula follows by writing the same finite sum forwards and backwards: Sn=a+(a+d)+⋯+[a+(n−1)d],S_n=a+(a+d)+\cdots+[a+(n-1)d], Sn=[a+(n−1)d]+⋯+(a+d)+a.S_n=[a+(n-1)d]+\cdots+(a+d)+a. Each of the nn paired columns totals 2a+(n−1)d2a+(n-1)d, so doubling and then halving gives the formula.

Sigma notation compresses an addition: ∑r=1nur\sum_{r=1}^{n}u_r means u1+u2+⋯+unu_1+u_2+\cdots+u_n. Setting a=1,d=1a=1,d=1 gives 1+2+⋯+n=n(n+1)2.1+2+\cdots+n=\frac{n(n+1)}2.

For 7,11,15,…7,11,15,\ldots, a=7a=7 and d=4d=4. Thus u20=83u_{20}=83 and S20=202(7+83)=900.S_{20}=\frac{20}{2}(7+83)=900.

Term nn uses n−1n-1 differences. In a finite sum, identify the number of terms before substituting; it is not automatically the value of the final term.

Recognise increasing, decreasing and periodic sequences

Classify a sequence by comparing consecutive terms or by identifying an exact repeating cycle.

Type Test
Strictly increasing un+1>unu_{n+1}>u_n for every relevant nn
Strictly decreasing un+1<unu_{n+1}<u_n for every relevant nn
Periodic with period pp un+p=unu_{n+p}=u_n; the order is the smallest positive such pp

For an explicit sequence, inspect un+1−unu_{n+1}-u_n: a value always positive proves increasing, while one always negative proves decreasing. For un=n2+1u_n=n^2+1, un+1−un=2n+1>0u_{n+1}-u_n=2n+1>0 for positive integer nn, so the sequence is increasing.

The sequence 4,34,−13,4,34,−13,…4,\frac34,-\frac13,4,\frac34,-\frac13,\ldots repeats every three terms, so it is periodic of order 33. With a one-step deterministic recurrence, returning to an earlier value makes the same following cycle repeat.

A few rising or falling terms do not prove the pattern continues. Equality also fails the strict tests; and a stated period is not the order if a smaller positive period works.

Control finite and infinite geometric series

A geometric sequence multiplies by the same common ratio rr each time. With first term aa, its terms and finite sum are

un=arn−1,Sn=a(1−rn)1−r(r≠1)u_n=ar^{n-1},\qquad S_n=\frac{a(1-r^n)}{1-r}\quad(r\ne1)

Write Sn=a+ar+⋯+arn−1S_n=a+ar+\cdots+ar^{n-1} and multiply by rr. Subtracting rSnrS_n from SnS_n cancels the middle terms, leaving (1−r)Sn=a−arn,(1-r)S_n=a-ar^n, which gives the finite-sum formula.

Only when ∣r∣<1|r|<1 does rn→0r^n\to0, so only then does the geometric sum converge to S∞=a1−r.S_\infty=\frac{a}{1-r}. A negative ratio may converge while the terms alternate signs.

For a=5,r=0.8a=5,r=0.8, requiring Sn>24S_n>24 gives 25(1−0.8n)>2425(1-0.8^n)>24, hence 0.8n<0.040.8^n<0.04. Therefore n>log⁡(0.04)log⁡(0.8)≈14.43,n>\frac{\log(0.04)}{\log(0.8)}\approx14.43, so the smallest integer is 1515.

Use arn−1ar^{n-1} for term nn, not arnar^n. Never use S∞S_\infty unless ∣r∣<1|r|<1; when solving an inequality with 0<r<10<r<1, dividing by log⁡r<0\log r<0 reverses its direction.

Expand a positive integer power with binomial coefficients

For a positive integer nn, the binomial theorem gives every term of (a+bx)n(a+bx)^n without repeated multiplication.

(a+bx)n=∑r=0n(nr)an−r(bx)r,(nr)=n!r!(n−r)!(a+bx)^n=\sum_{r=0}^{n}\binom nr a^{n-r}(bx)^r,\qquad \binom nr=\frac{n!}{r!(n-r)!}

Here n!=n(n−1)⋯2⋅1n!=n(n-1)\cdots2\cdot1 and 0!=10!=1. The index rr is the power of xx, so choosing r=0,1,2,…r=0,1,2,\ldots produces terms in ascending powers.

For (2−3x)4(2-3x)^4, (2−3x)4=24+(41)23(−3x)+(42)22(−3x)2+(43)2(−3x)3+(−3x)4=16−96x+216x2−216x3+81x4.\begin{aligned}(2-3x)^4={}&2^4+\binom41 2^3(-3x)+\binom42 2^2(-3x)^2\\&+\binom43 2(-3x)^3+(-3x)^4\\={}&16-96x+216x^2-216x^3+81x^4.\end{aligned}

The sign belongs inside (bx)r(bx)^r: odd powers keep a negative sign and even powers become positive. This formula here is restricted to positive integer nn and terminates after n+1n+1 terms.

P2.5 - Exponentials and logarithms

Syllabus
2019
Topic
P2.5
Level
AS

Read the shape of an exponential graph

In y=axy=a^x, the variable is in the exponent. The restrictions a>0a>0 and a≠1a\ne1 give a real exponential curve rather than a sign-changing or constant rule.

y=ax,a>0, a≠1y=a^x,\qquad a>0,\ a\ne1

Base Left-to-right behaviour End behaviour
a>1a>1 increasing y→0y\to0 as x→−∞x\to-\infty; y→∞y\to\infty as x→∞x\to\infty
0<a<10<a<1 decreasing y→∞y\to\infty as x→−∞x\to-\infty; y→0y\to0 as x→∞x\to\infty

Every permitted base gives a0=1a^0=1, so the graph crosses the yy-axis at (0,1)(0,1). Its domain is all real xx, its range is y>0y>0, and y=0y=0 is a horizontal asymptote: the curve approaches but never meets the xx-axis.

Known graph transformations preserve this structure. For y=3⋅2x+4y=3\cdot2^x+4, the yy-intercept is (0,7)(0,7), the horizontal asymptote is y=4y=4, and the curve is increasing above that line.

Do not draw an xx-intercept for y=axy=a^x. A vertical shift changes the horizontal asymptote, while a=1a=1 would give the excluded constant graph y=1y=1.

Combine logarithms without losing their domain

A logarithm is an exponent: log⁡ax=y\log_a x=y means ay=xa^y=x. Therefore a>0a>0, a≠1a\ne1, and every logarithm argument must be positive.

log⁡a(xy)=log⁡ax+log⁡ay,log⁡a(x/y)=log⁡ax−log⁡ay,log⁡a(xk)=klog⁡ax,log⁡a(1/x)=−log⁡ax,log⁡aa=1.\begin{aligned}\log_a(xy)&=\log_a x+\log_a y,\\ \log_a(x/y)&=\log_a x-\log_a y,\\ \log_a(x^k)&=k\log_a x,\\ \log_a(1/x)&=-\log_a x,\\ \log_a a&=1.\end{aligned}

These laws are the index laws read through the inverse operation: multiplying powers adds exponents, dividing subtracts them, and raising a power multiplies its exponent.

Solve log⁡2(x−1)+log⁡2(x−3)=3\log_2(x-1)+\log_2(x-3)=3. The domain requires x>3x>3. Combining gives log⁡2[(x−1)(x−3)]=log⁡28,\log_2[(x-1)(x-3)]=\log_2 8, so (x−1)(x−3)=8(x-1)(x-3)=8 and (x−5)(x+1)=0(x-5)(x+1)=0. Only x=5x=5 satisfies the domain.

The arguments xx, yy, xyxy, or x/yx/y must be positive wherever their logarithms appear. Algebra can create candidate roots outside that domain, so check every final value in the original expression.

Use logarithms to release an unknown exponent

To solve ax=ba^x=b, apply a logarithm to both sides. The power law moves the unknown exponent in front, where ordinary algebra can isolate it.

ax=b⟹xlog⁡ca=log⁡cb⟹x=log⁡cblog⁡ca=log⁡aba^x=b\quad\Longrightarrow\quad x\log_c a=\log_c b\quad\Longrightarrow\quad x=\frac{\log_c b}{\log_c a}=\log_a b

This requires a>0a>0, a≠1a\ne1, and b>0b>0. The change-of-base formula allows any convenient valid base cc, commonly 1010 or ee.

For 52x−1=175^{2x-1}=17, take natural logarithms: (2x−1)ln⁡5=ln⁡17.(2x-1)\ln5=\ln17. Hence x=12(1+ln⁡17ln⁡5)≈1.380.x=\frac12\left(1+\frac{\ln17}{\ln5}\right)\approx1.380. Substitution restores 52x−1=175^{2x-1}=17, providing a check.

First isolate the exponential expression, then take logs of both complete sides. Do not write log⁡(ax)=log⁡ax\log(a^x)=\log a^x ambiguously, and keep full calculator precision until the final rounding.

P2.6 - Trigonometry

Syllabus
2019
Topic
P2.6
Level
AS

Use identities to connect sine, cosine and tangent

A trigonometric identity is true for every angle where both sides are defined. These two identities let you replace one function by another without changing the relationship.

tan⁡θ=sin⁡θcos⁡θ(cos⁡θ≠0),sin⁡2θ+cos⁡2θ=1\tan\theta=\frac{\sin\theta}{\cos\theta}\quad(\cos\theta\ne0),\qquad \sin^2\theta+\cos^2\theta=1

Useful rearrangements are sin⁡2θ=1−cos⁡2θ\sin^2\theta=1-\cos^2\theta and cos⁡2θ=1−sin⁡2θ\cos^2\theta=1-\sin^2\theta. Choose the version that leaves only one trigonometric function.

If cos⁡θ=−35\cos\theta=-\frac35 and π2<θ<π\frac\pi2<\theta<\pi, then sin⁡2θ=1−925=1625.\sin^2\theta=1-\frac9{25}=\frac{16}{25}. Sine is positive in this interval, so sin⁡θ=45\sin\theta=\frac45 and tan⁡θ=−43\tan\theta=-\frac43. The identity gives the magnitude; the interval determines the sign.

For example, 8tan⁡θ=3cos⁡θ8\tan\theta=3\cos\theta becomes 8sin⁡θ=3cos⁡2θ=3(1−sin⁡2θ)8\sin\theta=3\cos^2\theta=3(1-\sin^2\theta), hence 3sin⁡2θ+8sin⁡θ−3=0.3\sin^2\theta+8\sin\theta-3=0.

Do not take a square root without choosing its sign from the angle interval. Also retain cos⁡θ≠0\cos\theta\ne0 whenever the tangent identity is used.

Solve every trigonometric branch inside an interval

A trigonometric equation is complete only when every valid branch in the stated interval has been found. Keep the angle unit and interval visible throughout.

Use this sequence: rewrite in one trigonometric function; factor or solve the resulting algebraic equation; reject values outside the function's range; generate every periodic angle; undo any shift or multiple; then apply the original endpoints.

Equation for uu Degree solutions Radian solutions
sin⁡u=k\sin u=k u=α+360∘nu=\alpha+360^\circ n or 180∘−α+360∘n180^\circ-\alpha+360^\circ n u=α+2πnu=\alpha+2\pi n or π−α+2πn\pi-\alpha+2\pi n
cos⁡u=k\cos u=k u=±α+360∘nu=\pm\alpha+360^\circ n u=±α+2πnu=\pm\alpha+2\pi n
tan⁡u=k\tan u=k u=α+180∘nu=\alpha+180^\circ n u=α+πnu=\alpha+\pi n

Here n∈Zn\in\mathbb Z and α\alpha is the appropriate inverse-trigonometric value. If u=2xu=2x or u=x+π2u=x+\frac\pi2, solve over the corresponding uu-interval before converting back to xx.

Solve 6cos⁡2x+sin⁡x−5=06\cos^2x+\sin x-5=0 for 0≤x<360∘0\le x<360^\circ. Let s=sin⁡xs=\sin x: 6(1−s2)+s−5=0⟹(3s+1)(2s−1)=0.6(1-s^2)+s-5=0\quad\Longrightarrow\quad(3s+1)(2s-1)=0. Thus sin⁡x=12\sin x=\frac12 or sin⁡x=−13\sin x=-\frac13, giving x=30∘, 150∘, 199.5∘, 340.5∘x=30^\circ,\ 150^\circ,\ 199.5^\circ,\ 340.5^\circ to one decimal place where needed.

Do not divide by a trigonometric factor before preserving its zero branch. Match calculator mode to degrees or radians, and include an endpoint only when the stated inequality includes it.

P2.7 - Differentiation

Syllabus
2019
Topic
P2.7
Level
AS

Read curve behaviour from the derivative

The derivative f′(x)f'(x) is the gradient of a curve. Its sign tells whether the function rises or falls, while a stationary point is a point where f′(x)=0f'(x)=0.

f′(x)>0⇒f increasing,f′(x)<0⇒f decreasingf'(x)>0\Rightarrow f\text{ increasing},\qquad f'(x)<0\Rightarrow f\text{ decreasing}

Sign of f′f' around x=cx=c Stationary-point type
positive then negative local maximum
negative then positive local minimum
no sign change stationary point of inflection

When f′(c)=0f'(c)=0, the second derivative gives a quick local test: f′′(c)<0f''(c)<0 indicates a maximum and f′′(c)>0f''(c)>0 a minimum. If f′′(c)=0f''(c)=0, this test is inconclusive, so use the sign of f′f'.

For f(x)=x3−3x2−9x+5f(x)=x^3-3x^2-9x+5, f′(x)=3(x+1)(x−3).f'(x)=3(x+1)(x-3). Thus the stationary points are (−1,10)(-1,10) and (3,−22)(3,-22). The derivative is positive for x<−1x<-1, negative for −1<x<3-1<x<3, and positive for x>3x>3; therefore the first point is a local maximum and the second a local minimum.

For a curve sketch, combine stationary coordinates and increasing/decreasing intervals with intercepts and end behaviour. In a practical optimisation on a restricted domain, compare the objective value at every feasible stationary point and included endpoint, then state the maximum or minimum with its units and context.

The equation f′(x)=0f'(x)=0 finds candidates, not automatically extrema. A stationary inflection is possible, and an endpoint can give the global optimum even though its derivative is not zero.

P2.8 - Integration

Syllabus
2019
Topic
P2.8
Level
AS

Evaluate a definite integral from its bounds

A definite integral gives the accumulated signed value of a function between two bounds. First find an antiderivative FF with F′(x)=f(x)F'(x)=f(x), then evaluate upper bound minus lower bound.

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x)\,dx=[F(x)]_a^b=F(b)-F(a)

For example, ∫13(2x2−4x+5) dx=[23x3−2x2+5x]13=15−113=343.\int_1^3(2x^2-4x+5)\,dx=\left[\frac23x^3-2x^2+5x\right]_1^3=15-\frac{11}{3}=\frac{34}{3}. Write the substitution line before simplifying; this makes the order of subtraction visible.

Reversing the bounds changes the sign: ∫baf(x) dx=−∫abf(x) dx\int_b^a f(x)\,dx=-\int_a^b f(x)\,dx. Adjacent intervals add, so ∫acf=∫abf+∫bcf\int_a^c f=\int_a^b f+\int_b^c f; this can reveal a missing integral without integrating again.

Do not subtract lower minus upper, and do not leave +C+C in a definite answer. Any constants of integration would cancel in F(b)−F(a)F(b)-F(a).

Turn a bounded region into a non-negative integral

A definite integral is signed, but geometric area is non-negative. Sketch or compare the boundaries first, find their intersections, and integrate the vertical height of the region with respect to x.

A=∫ab(upper y− lower y) dxA=\int_a^b(\text{upper }y-\text{ lower }y)\,dx

The curves y=6x−x2y=6x-x^2 and y=2xy=2x meet where 6x−x2=2x6x-x^2=2x, so x=0x=0 or x=4x=4. Between these values the quadratic is above the line. Hence A=∫04[(6x−x2)−2x]dx=[2x2−x33]04=323.A=\int_0^4\big[(6x-x^2)-2x\big]dx=\left[2x^2-\frac{x^3}{3}\right]_0^4=\frac{32}{3}.

Region Integrand
curve above the xx-axis yy
curve below the xx-axis −y-y
between y=f(x)y=f(x) and y=g(x)y=g(x) upper function −- lower function

If the upper boundary changes, or a curve crosses the x-axis inside the region, split the integral at that x-value and make each piece positive. Straight-line boundaries are handled by the same upper-minus-lower rule.

Solving for intersections supplies the limits; it does not supply the area. Do not integrate lower minus upper and then report a negative geometric area. This objective uses vertical strips and dxdx; ∫x dy\int x\,dy is outside the required scope.

Approximate an integral with equal-width trapezia

The trapezium rule replaces a curve by straight chords over equal-width strips. With n strips from a to b, calculate the width and list all n+1 ordinates before applying the endpoint weights.

h=b−an,Tn=h2[y0+yn+2(y1+⋯+yn−1)]h=\frac{b-a}{n},\qquad T_n=\frac h2\left[y_0+y_n+2(y_1+\cdots+y_{n-1})\right]

For ∫012x+1 dx\int_0^1\sqrt{2x+1}\,dx with four strips:

xx 0 0.25 0.50 0.75 1.00
yy 1.0000 1.2247 1.4142 1.5811 1.7321

Here h=0.25h=0.25, so T4=0.252{1.0000+1.7321+2(1.2247+1.4142+1.5811)}≈1.3965.T_4=\frac{0.25}{2}\{1.0000+1.7321+2(1.2247+1.4142+1.5811)\}\approx1.3965. Keep extra calculator digits until the final rounding.

More strips make h smaller and usually improve the approximation. If a trusted exact or more accurate value is available, the estimated absolute error is the absolute difference from the trapezium estimate. The chord picture also explains direction: chords below the curve give an underestimate; chords above it give an overestimate.

There are n+1n+1 ordinates for nn strips. Count each endpoint once and each interior ordinate twice; do not use unequal x-spacing in this formula, and do not round table values too early.