HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A thermostat sends a signal while the room temperature t, in degrees Celsius, satisfies "t is…
AdvancedMathematicsHigh School (11–12)Mathematical ReasoningNumerical

A thermostat sends a signal while the room temperature t, in degrees Celsius, satisfies "t is…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A thermostat sends a signal while the room temperature ttt, in degrees Celsius, satisfies "ttt is between 2∘C2^\circ\text{C}2∘C and 5∘C5^\circ\text{C}5∘C", meaning 2<t<52 < t < 52<t<5. An engineer needs the negation of this sentence to switch an alarm on. Write the negation without the word "not". Then count the whole-number temperatures from −10∘C-10^\circ\text{C}−10∘C to 10∘C10^\circ\text{C}10∘C, both ends included, at which the alarm is on. Finally, a second engineer writes the negation as "t<2t < 2t<2 or t>5t > 5t>5". At how many of those whole-number temperatures do the two versions disagree?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

A statement is true or false, but not both. Questions, commands, opinions and open sentences are not statements. The negation ∼p\sim p∼p is true exactly when ppp is false; the negation of 'x>ax > ax>a' is 'x≤ax \le ax≤a'.

The worked solution

Check an answer or open a hint to unlock the worked solution.

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Given. The sentence 2<t<52 < t < 52<t<5, that is "t>2t > 2t>2 and t<5t < 5t<5".

Plan. Negate the "and" with De Morgan's law, then count.

Step 1. The negation. ∼(t>2∧t<5)≡(t≤2)∨(t≥5)\sim(t > 2 \wedge t < 5) \equiv (t \le 2) \vee (t \ge 5)∼(t>2∧t<5)≡(t≤2)∨(t≥5). In words: "ttt is at most 2∘C2^\circ\text{C}2∘C or at least 5∘C5^\circ\text{C}5∘C".

Step 2. Count the whole numbers. From −10-10−10 to 101010 there are 212121 whole numbers. The sentence itself is true only at 333 and 444. So the alarm is on at 21−2=1921 - 2 = 1921−2=19 temperatures.

Step 3. The second version. "t<2t < 2t<2 or t>5t > 5t>5" is false at t=2t = 2t=2 and at t=5t = 5t=5, where the correct negation is true. So the two versions disagree at 222 temperatures.

Check. At t=2∘Ct = 2^\circ\text{C}t=2∘C the original sentence is false (2<22 < 22<2 fails). So its negation must be true there, which the first version gives.

Answer: the alarm is on at 191919 whole-number temperatures; the versions disagree at 222 of them.

Log in to save this for later
← All Problems
← Let p(n) be the open sentence "n² - 9n + 18 < 0", where n is a whole number from 1 to 12…Let p be "17 is a prime number", let q be "every even number is divisible by 4" and let r be "the… →
More onMathematical Reasoning

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Statements and their negationsStatements, Connectives and Truth Tables

More on this topic

  1. Prove by cases that for every integer n, n² leaves remainder 0 or 1 when divided by 3…Advanced
  2. Prove by contradiction that there are no integers a and b with 6a + 9b = 100…Advanced
  3. Prove by contradiction that √3 is irrational…Hard
  4. Prove by exhaustion that no perfect square ends in the digit 2, 3, 7 or 8…
Advanced
  • The formula f(n) = n² + n + 41 gives a prime for n = 0, 1, 2, … for a long time…Advanced
  • All problems on this topic →