---
title: Problem set 5
heading: "Problem set 5: identities, equations and inverses"
eyebrow: A2 · Problem set 5
type: problems
---

::: hook
These problems use lessons 21 to 23: the trig identities, solving trig equations, and inverse functions with atan2. Several are the exact calculations behind radio mixers, power in AC circuits and phase measurement. Each uses your own numbers.
:::

::: pool
pick: 12

::: check
kind: parts
given: Ip = 1 | 2 | 5; R = 10 | 50 | 100; f = 50 | 60

## A current $i = \given{Ip}\sin(2\pi \cdot \given{f}\,t)$ amps flows through a {R} Ω resistor. The power is $p = Ri^2$.

::: part
answer: R*Ip^2/2
unit: W

### What is the average power? Use $\sin^2 x = \frac{1}{2}(1 - \cos 2x)$.

::: misses
- [R*Ip^2] That's the peak power. On average $\sin^2$ is one half.
- [R*Ip^2/sqrt(2)] Average $\sin^2$, not $\sin$: it's $\frac{1}{2}$.
- [any] The cosine term averages to zero, leaving $\frac{1}{2}RI_p^2$.
:::
:::

::: part
answer: 2*f
unit: Hz

### At what frequency does the power rise and fall?

::: misses
- [f] The identity turns $\sin^2$ into $\cos 2x$: twice the frequency.
- [any] Read the frequency of $\cos(2 \cdot 2\pi ft)$.
:::
:::
:::

::: check
kind: parts
given: f1 = 900 | 1000 | 1200; f2 = 10.7 | 45 | 455

## A radio mixer multiplies a signal at {f1} kHz by a local oscillator at {f2} kHz. Use $\cos A\cos B = \frac{1}{2}[\cos(A - B) + \cos(A + B)]$.

::: part
answer: f1 + f2
unit: kHz
tolerance: 0.1%

### What is the higher frequency that comes out, in kHz?

::: misses
- [f1*f2] Multiplying cosines adds and subtracts their frequencies.
- [f1 - f2] That's the lower one.
- [any] $A + B$ gives the sum frequency.
:::
:::

::: part
answer: f1 - f2
tolerance: 0.1%

### And the lower one?

::: misses
- [f1 + f2] That's the higher one.
- [any] $A - B$ gives the difference frequency.
:::
:::
:::

::: check
kind: parts
given: a = 30 | 45; b = 30 | 60

## Using the angle sum formulas and the special triangles:

::: part
answer: sin((a + b)*pi/180)
tolerance: 0.2%

### What is $\sin(\given{a}° + \given{b}°)$?

::: misses
- [sin(a*pi/180) + sin(b*pi/180)] $\sin(a + b) \ne \sin a + \sin b$. Use $\sin a\cos b + \cos a\sin b$.
- [any] $\sin a\cos b + \cos a\sin b$.
:::
:::

::: part
answer: cos((a + b)*pi/180)
tolerance: 0.5%

### What is $\cos(\given{a}° + \given{b}°)$?

::: misses
- [cos(a*pi/180) + cos(b*pi/180)] Use $\cos a\cos b - \sin a\sin b$.
- [any] $\cos a\cos b - \sin a\sin b$.
:::
:::
:::

::: check
kind: parts
given: s = 0.3 | 0.6 | 0.8

## An angle $\theta$ between 0° and 90° has $\sin\theta$ = {s}.

::: part
answer: sqrt(1 - s^2)
tolerance: 0.2%

### What is $\cos\theta$?

::: misses
- [1 - s] $\cos^2\theta = 1 - \sin^2\theta$.
- [1 - s^2] Take the square root.
- [any] $\cos\theta = \sqrt{1 - \sin^2\theta}$, positive in this range.
:::
:::

::: part
answer: 2*s*sqrt(1 - s^2)
tolerance: 0.2%

### What is $\sin 2\theta$?

::: misses
- [2*s] $\sin 2\theta = 2\sin\theta\cos\theta$.
- [any] $2\sin\theta\cos\theta$.
:::
:::

::: part
answer: 1 - 2*s^2
tolerance: 0.5%

### What is $\cos 2\theta$?

::: misses
- [2*sqrt(1 - s^2)] $\cos 2\theta = 1 - 2\sin^2\theta$.
- [any] $1 - 2\sin^2\theta$.
:::
:::
:::

::: check
kind: parts
given: c = 0.4 | 0.8 | 1

## Solve $2\sin\theta = \given{c}$ for $0° \le \theta < 360°$.

::: part
answer: asin(c/2)*180/pi
unit: °
tolerance: 0.2%

### What is the smaller solution?

::: misses
- [asin(c)*180/pi] Divide by 2 first.
- [any] $\sin^{-1}(\given{c}/2)$.
:::
:::

::: part
answer: 180 - asin(c/2)*180/pi
unit: °
tolerance: 0.2%

### And the larger?

::: misses
- [180 + asin(c/2)*180/pi] At that angle the sine is negative. Use $180° - \theta$.
- [any] $180° - \theta$.
:::
:::
:::

::: check
kind: parts
given: A = 5 | 10; k = 0.3 | 0.6 | 0.8; f = 100 | 1000; let L = k*A

## A {f} Hz sine wave peaks at {A} V.

::: part
answer: (pi - 2*asin(L/A))/(2*pi*f)
unit: s

### For how long in each cycle is it above {L} V?

::: misses
- [(pi - asin(L/A))/(2*pi*f)] It's above the level from the upward crossing to the downward one. Subtract both.
- [1/(2*f)] That's the whole positive half. Above {L} V is shorter.
- [any] From $\sin^{-1}(L/A)$ to $\pi - \sin^{-1}(L/A)$, in time.
:::
:::

::: part
answer: 100*(pi - 2*asin(L/A))/(2*pi)
tolerance: 0.5%

### What percent of the cycle is that?

::: misses
- [any] Divide by the period, $1/f$.
:::
:::
:::

::: check
kind: parts
given: x = -3 | -5 | -8; y = 4 | -12 | 6

## A measured signal has an in-phase part of {x} V and a quadrature part of {y} V, so it's the point $(\given{x}, \given{y})$.

::: part
answer: sqrt(x^2 + y^2)
unit: V

### What is its amplitude?

::: misses
- [abs(x) + abs(y)] Use Pythagoras.
- [any] $\sqrt{x^2 + y^2}$.
:::
:::

::: part
answer: arg(x + j*y)*180/pi
unit: °
tolerance: 0.2%

### What is its phase, between −180° and 180°?

::: misses
- [atan(y/x)*180/pi] That's in the wrong quadrant: the point is to the left of the axis.
- [any] atan2: $\tan^{-1}(y/x)$, then fix the quadrant.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3; b = 1 | 5; c = 1 | 2; d = 4 | 7; y0 = 4 | 6

## $f(x) = \dfrac{\given{a}x + \given{b}}{\given{c}x + \given{d}}$.

::: part
answer: (d*y0 - b)/(a - c*y0)
tolerance: 0.5%

### What $x$ gives $f(x)$ = {y0}?

::: misses
- [(y0 - b)/a] The bottom depends on $x$ too: multiply through by it first.
- [any] Multiply through: $\given{a}x + \given{b} = \given{y0}(\given{c}x + \given{d})$, then collect the $x$ terms.
:::
:::

::: part
answer: a/c
tolerance: 0.5%

### What value can $f$ never take?

::: misses
- [-d/c] That's the input it can't take. The output it can't reach is its horizontal asymptote.
- [any] The horizontal asymptote: $\given{a}/\given{c}$.
:::
:::
:::

::: check
kind: parts
given: ax = 3 | 5; ay = 1 | 4; bx = 2 | -1; by = 6 | 7

## Two arrows are $(\given{ax}, \given{ay})$ and $(\given{bx}, \given{by})$.

::: part
answer: ax*bx + ay*by
tolerance: 0.01

### What is their dot product?

::: misses
- [ax*ay + bx*by] Multiply matching components.
- [any] $A_xB_x + A_yB_y$.
:::
:::

::: part
answer: acos((ax*bx + ay*by)/(sqrt(ax^2 + ay^2)*sqrt(bx^2 + by^2)))*180/pi
unit: °
tolerance: 0.2%

### What angle is between them?

::: misses
- [any] $\cos\theta = \vec A\cdot\vec B/(|\vec A||\vec B|)$; take $\cos^{-1}$.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 6 | 8; b = 4 | 10 | 15

## $\given{a}\cos\omega t + \given{b}\sin\omega t$ is a single sinusoid $R\cos(\omega t - \varphi)$.

::: part
answer: sqrt(a^2 + b^2)
tolerance: 0.2%

### What is $R$?

::: misses
- [a + b] The two parts are a quarter-cycle apart: add them as arrows.
- [any] $R = \sqrt{a^2 + b^2}$.
:::
:::

::: part
answer: atan(b/a)*180/pi
unit: °
tolerance: 0.2%

### What is $\varphi$?

::: misses
- [atan(a/b)*180/pi] The angle is measured from the cosine part: $\tan\varphi = b/a$.
- [any] $\tan^{-1}(b/a)$, from expanding $R\cos(\omega t - \varphi)$.
:::
:::
:::

::: check
kind: parts
given: c = 0.2 | 0.5 | 0.9

## An angle in the fourth quadrant (between 270° and 360°) has $\cos\theta$ = {c}.

::: part
answer: -sqrt(1 - c^2)
tolerance: 0.2%

### What is $\sin\theta$?

::: misses
- [sqrt(1 - c^2)] In the fourth quadrant the sine is negative.
- [any] $\sin^2\theta = 1 - \cos^2\theta$, with the sign from the quadrant.
:::
:::

::: part
answer: 360 - acos(c)*180/pi
unit: °
tolerance: 0.2%

### What is $\theta$?

::: misses
- [acos(c)*180/pi] That's in the first quadrant.
- [any] $360° - \cos^{-1}(\given{c})$.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 3 | 4; c = 0.25 | 0.7

## Solve $\cos(\given{n}\theta) = \given{c}$ for $0° \le \theta < 360°$.

::: part
answer: 2*n
tolerance: 0.5

### How many solutions are there?

::: misses
- [2] Over 360°, $\cos(\given{n}\theta)$ runs through {n} cycles.
- [n] Two per cycle.
- [any] {n} cycles, two each.
:::
:::

::: part
answer: acos(c)*180/pi/n
unit: °
tolerance: 0.2%

### What is the smallest?

::: misses
- [acos(c)*180/pi] That's $\given{n}\theta$. Divide by {n}.
- [any] $\cos^{-1}(\given{c})/\given{n}$.
:::
:::
:::

::: check
kind: parts
given: E = 50 | 60 | 70; e = 20 | 30 | 40

## On a spring day the sun's elevation is about $\given{E}\sin\big(\pi(t - 6)/12\big)$ degrees, for $t$ in hours from 6 to 18. A solar tracker is useful only above {e}°.

::: part
answer: 6 + 12/pi*asin(e/E)
tolerance: 0.5%

### At what hour does the sun first reach {e}°?

::: misses
- [6 + 12/pi*asin(e/E)*180/pi] Use the arcsine in radians here, since the formula's angle is in radians.
- [any] Solve $\sin(\pi(t - 6)/12) = \given{e}/\given{E}$ for the first $t$.
:::
:::

::: part
answer: 18 - 12/pi*asin(e/E)
tolerance: 0.5%

### At what hour does it drop back below {e}°?

::: misses
- [6 + 12/pi*asin(e/E)] That's the morning crossing. The afternoon one is as far from 18 h as the morning one is from 6 h.
- [any] Use the symmetry of the sine: $\sin(\pi - u) = \sin u$.
:::
:::

::: part
answer: 12 - 24/pi*asin(e/E)
tolerance: 0.5%

### For how many hours is it above {e}°?

::: misses
- [any] The afternoon crossing minus the morning one.
:::
:::
:::

::: check
kind: parts
given: a = 0.2 | 0.5; b = 0.4 | 0.6; V = 1.5 | 2; L = 100 | 1000

## A light sensor puts out $V = \given{a} + \given{b}\log_{10} L$ volts at an illuminance of $L$ lux.

::: part
answer: a + b*log(L)
unit: V
tolerance: 0.5%

### What does it read at {L} lux?

::: misses
- [a + b*ln(L)] The formula uses $\log_{10}$.
- [any] Put {L} into the formula.
:::
:::

::: part
answer: 10^((V - a)/b)
tolerance: 0.5%

### What illuminance, in lux, gives {V} V?

::: misses
- [(V - a)/b] That's $\log_{10} L$. Undo the log.
- [exp((V - a)/b)] The inverse of $\log_{10}$ is a power of 10.
- [any] Solve for $\log_{10} L$, then $L = 10^{(\ldots)}$.
:::
:::
:::

::: check
kind: parts
given: Vp = 170 | 325; Ip = 2 | 5; p = 30 | 60; f = 50 | 60

## A load has $v = \given{Vp}\cos\omega t$ V across it and $i = \given{Ip}\cos(\omega t - \given{p}°)$ A through it, at {f} Hz. Use $\cos A\cos B = \tfrac12[\cos(A - B) + \cos(A + B)]$.

::: part
answer: 0.5*Vp*Ip*cos(p°)
unit: W
tolerance: 0.5%

### What is the average power $p = vi$?

::: misses
- [0.5*Vp*Ip] The current lags by {p}°, which brings in $\cos \given{p}°$.
- [Vp*Ip*cos(p°)] The identity has a ½.
- [any] The constant term of $vi$ after the identity.
:::
:::

::: part
answer: 2*f
unit: Hz
tolerance: 0.5%

### At what frequency does the power swing about its average?

::: misses
- [f] The $\cos(A + B)$ term runs at $2\omega$.
- [any] Look at the $\cos(2\omega t - \ldots)$ term.
:::
:::

::: part
answer: 0.5*Vp*Ip*(cos(p°) + 1)
unit: W
tolerance: 0.5%

### What is the highest instantaneous power?

::: misses
- [Vp*Ip] The peaks of $v$ and $i$ don't line up, so their product never reaches this.
- [any] The average plus the amplitude of the swinging term.
:::
:::
:::
:::
