Precalculus Lesson 7.4: Writing a sin x + b cos x as a Single Function
12th Grade Math · Chapter 7: Trigonometric Identities and Equations · Common Core F-TF.C.9
What is in the full lesson (13 activities)
Every item below opens free in the course.
- Video: A cosx plus b sinx example 1
- Video: A cosx plus b sinx example 2
- Video: A cosx plus b sinx example 3
- Video: A cosx plus b sinx example 4
- Practice questions: Checkpoint 1: Trig identities and equations (5 questions, 7 points)
- Geogebra: GeoGebra activity: Explore using the addition formulae for sin and cos to obtain the graph of y = 3 sin x + 4 cos x
- Geogebra: GeoGebra activity: Explore maximums and minimums of curves of the form R cos(θ - α)
- Notes: Lesson notes: Expressions of the Form a sin x + b cos x
- Interactive lesson: Interactive lesson: R Form Converter
- Interactive lesson: Interactive practice: Expressions of the Form a sin x + b cos x Practice
- Practice questions: Practice questions (8 questions, 17 points)
- Worksheet: Worksheet: Expressions of the Form a sin x + b cos x
- Answers: Worksheet answer key: Expressions of the Form a sin x + b cos x
A free Precalculus lesson for grade 12 students from OBA School: Writing a sin x + b cos x as a Single Function, aligned with the Common Core State Standards (CCSS F-TF.C.9). Watch the video, read the explanation and worked examples, then try the practice questions. The full lesson in our free online Precalculus course adds more videos, interactive activities, a self-checking quiz and printable worksheets.
What you will learn
- Write a sin x + b cos x in the forms R sin (x ± α) and R cos (x ± α)
- Find R exactly and α exactly or to a given accuracy, in degrees or radians
- Use the single form to find maximum and minimum values and where they occur
- Solve equations such as a sin x + b cos x = c
Key words
- Harmonic form: A single wave R sin (x ± α) or R cos (x ± α), with R > 0.
- Amplitude: R: the largest distance of the wave from 0.
- Phase angle: α, the translation of the wave, usually acute.
- Compare coefficients: Make the coefficients of sin x and of cos x equal on the two sides of an identity.
Finding R and α
Expand the form you want with a compound angle formula, then compare coefficients of sin x and cos x. Square and add to get R; divide to get tan α.
Worked example: R sin(x + α)
Write 5 sin x + 12 cos x as R sin (x + α), R > 0, 0° < α < 90°.
R sin (x + α) = R cos αsin x + R sin αcos x, so R cos α = 5 and R sin α = 12
R² = 5² + 12² = 169; tan α = 12/5, α = 67.38°
Answer: 5 sin x + 12 cos x = 13 sin (x + 67.38°)
Key fact: R = √(a² + b²). tan α = (R sin α)/(R cos α) (read the two equations from the comparison).
Choosing the form
Choose the form whose expansion has the same pattern of signs as your expression; then α is acute. For a, b > 0:
- a sin x + b cos x; Use R sin (x + α); Expansion R sin x cos α + R cos x sin α
- a sin x − b cos x; Use R sin (x − α); Expansion R sin x cos α − R cos x sin α
- a cos x + b sin x; Use R cos (x − α); Expansion R cos x cos α + R sin x sin α
- a cos x − b sin x; Use R cos (x + α); Expansion R cos x cos α − R sin x sin α
Worked example: an exact form in radians
Write cos x − √3 sin x as R cos (x + α), 0 < α < π/2.
R cos α = 1, R sin α = √3, so R = √(1 + 3) = 2 and tan α = √3
Answer: cos x − √3 sin x = 2 cos (x + π/3)
Maximum and minimum values
Since −1 ≤ sin (x + α) ≤ 1, the expression R sin (x + α) lies between −R and R. Fractions need care: the largest value of a fraction comes from the smallest positive denominator.
Worked example: a fraction
Find the maximum and minimum values of f(x) = 20/(15 + 5 sin x + 12 cos x).
5 sin x + 12 cos x = 13 sin (x + 67.38°) lies between −13 and 13, so the denominator lies between 2 and 28
Maximum 20/2 when sin (x + 67.38°) = −1; minimum 20/28 when sin (x + 67.38°) = 1
Answer: maximum 10 (at x = 202.6°), minimum 5/7 (at x = 22.6°)
Solving equations
Write the left-hand side in harmonic form, then solve for the whole angle x + α. Shift the interval first, and keep α unrounded until the end.
Worked example: 5 sin x + 12 cos x = 6.5 for 0° ≤ x < 360°
13 sin (x + 67.38°) = 6.5, so sin (x + 67.38°) = 0.5, with 67.38° ≤ x + 67.38° < 427.38°
x + 67.38° = 150° or 390°
Answer: x = 82.6° or x = 322.6° (1 d.p.)
Worked example: an equation with exact answers
Solve cos x − √3 sin x = 1 for 0 ≤ x ≤ 2π.
2 cos (x + π/3) = 1, so cos (x + π/3) = 1/2 with π/3 ≤ x + π/3 ≤ 7π/3
x + π/3 = π/3, 5π/3, 7π/3
Answer: x = 0, 4π/3, 2π
Common mistakes
- Taking R = a + b. For 5 sin x + 12 cos x, R = √(25 + 144) = 13, not 17.
- Dividing the equations the wrong way round: tan α = (R sin α)/(R cos α).
- Not shifting the interval for x + α, which loses or adds solutions.
- Using a rounded α too early, so the final answers are inaccurate.
- Mixing degrees and radians in the same equation.
Revision questions
Try these, then check your answers below each one.
Question 1. 8 sin x + 15 cos x ≡ R sin (x + α) with R > 0. Find R.
Answer: 17
Working: √(64 + 225) = √289 = 17.
Question 2. 8 sin x + 15 cos x ≡ R sin (x + α), where R > 0 and 0° < α < 90°. Find α in degrees, to 2 decimal places.
Answer: 61.93 °
Working: tan α = 15/8, so α = 61.93°.
Question 3. To write 3 cos x − 4 sin x with an acute angle α, which form should you use? (Choose from: R cos (x + α); R cos (x − α); R sin (x + α); R sin (x − α).)
Answer: R cos (x + α)
Working: R cos (x + α) = R cos x cos α − R sin x sin α, which matches 3 cos x − 4 sin x with R = 5.
Common Core standard
This lesson supports Common Core State Standard CCSS.MATH.CONTENT.HSF.TF.C.9, part of the high school Precalculus course usually taken in Grade 12 in the United States.
Related lessons
- Previous lesson: 7.3 Double-Angle Identities
- Next lesson: 7.5 Solving Trigonometric Equations
Continue in the full course
This lesson is section 7.4 (USPC0704) of our free Precalculus course for Grade 12. In the full course you get every video for this section, interactive lessons, a self-checking practice quiz, printable worksheets with an answer key, and your progress saved. Go to the full Precalculus course.
This lesson is part of the free Precalculus course. You can also browse all our free US high school math courses: Algebra 1, Geometry, Algebra 2 and Precalculus.