Question about logic and recurrence relation

AI Thread Summary
The discussion centers on finding a logical expression equivalent to (p ∨ q) using only ∧ and ¬ operators. Participants express confusion about the requirements and the concept of logical equivalence, particularly regarding tautologies. It is suggested that understanding tautologies is crucial for constructing the equivalent statement. The conversation emphasizes that while the task may seem daunting, it can be approached with basic logical principles rather than guesswork. Ultimately, clarity on logical equivalence and tautologies is key to solving the problem.
johnsmiths
Messages
4
Reaction score
0

Homework Statement


find a logical expression using only ∧ and ¬ operators which is logically equivalent to (p ∨ q)

The Attempt at a Solution


losing direction
what should I first consider?

There is another question about recurrent relation.

Suppose that a mathematical expression can only be formed by the following symbols: 0, 1,
2, …, 9, ×, +, /. Some examples are “0 + 9”; “2 + 2 × 8”; “1 / 5 + 6”. Let an be the the number
of such mathematical expression of length n (e.g. “0 + 9” is considered of length 3). Find a
recurrence relation for an and compute the closed form for an.
[Some clarification: We define a number as follows
- 0, 1, 2, …, 9 is a number
- If x is a number, then x0, x1, …, x9 is a number
We define a valid expression as follows
- E is a valid expression if E is a number
- If E, F are valid expressions, then E + F, E × F, E / F are also valid expressions.
For example: 1+50/4 is an expression of length 6, and 09×00/5 is an expression of length 7.]

Totally no idea about this question.
 
Physics news on Phys.org
johnsmiths said:

Homework Statement


find a logical expression using only ∧ and ¬ operators which is logically equivalent to (p ∨ q)

The Attempt at a Solution


losing direction
what should I first consider?

You should consider what it means to be logically equivalent, then look up "tautologies."
 
fss said:
You should consider what it means to be logically equivalent, then look up "tautologies."

What do you mean is finding something \rightarrow ( p\veeq ) and make it a tautology?
 
johnsmiths said:
What do you mean is finding something \rightarrow ( p\veeq )?

I do not understand what the above question is asking.

Do you understand what it means when two statements are logically equivalent?
 
fss said:
I do not understand what the above question is asking.

Do you understand what it means when two statements are logically equivalent?

It means p\leftrightarrowq is a tautology.

Maybe I make some mistakes with my question. And after I know that, what should I do next?
Just guessing or there is a systematic way to work out the solution.
 
johnsmiths said:
Just guessing or there is a systematic way to work out the solution.

It's not guessing, but it's not really "systematic" because it's a very simple question. All you need to do is use what you know about tautologies to construct an equivalent statement. The original statement p v q has a very simple logical equivalent that you should be able to deduce with only a little thinking once you find the proper tautological statement.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top